package com.qdu.service.impl;

import com.qdu.dao.LogResponseDao;
import com.qdu.dao.impl.LogResponseDaoImpl;
import com.qdu.entity.LogResponse;
import com.qdu.service.LogResponseService;
import java.util.List;

/**
 *
 * @author Lenovo
 */
public class LogResponseServiceImpl implements LogResponseService{

    LogResponseDaoImpl responsedaoimpl=new LogResponseDaoImpl();

    @Override
    public List<LogResponse> getAllResponse() {
        return responsedaoimpl.selectAllResponse();
    }

    @Override
    public List<LogResponse> getAllResponseByid(String id) {
        return responsedaoimpl.selectAllResponseByRemarkId(id);
    }

    @Override
    public int deleteThisResponse(String id) {
        return responsedaoimpl.deleteResponseById(id);
    }

    @Override
    public int addNewResponse(LogResponse response) {
        return responsedaoimpl.addResponse(response);
    }

    @Override
    public int modifyResponse(String id) {
        return responsedaoimpl.modifyResponse(id);
    }
    
}
